Platform Explorer / Nuxeo Platform LTS 2017 9.10

Contribution org.nuxeo.ecm.platform.threed.convert.commandline--command

This contribution is part of XML component org.nuxeo.ecm.platform.threed.convert.commandline inside nuxeo-platform-3d-convert-9.10.jar /OSGI-INF/commandline-contrib.xml

Extension Point

Extension point command of component CommandLineExecutorComponent.

Contributed Items

  • <command enabled="true" name="blender_pipeline">
          <commandLine>docker</commandLine>
          <testParameterString>pull nuxeo/blender</testParameterString>
          <parameterString>run --name #{name} --volumes-from #{data} nuxeo/blender
            -P /scripts/#{scriptFile} -- --input /in/#{inFile} --outdir /out --operators #{operators}
            --renderids #{renderIds} -li #{lodIds} -pp #{percPoly} -mp #{maxPoly} -d #{dimensions} -c #{coords}
          </parameterString>
          <installationDirective>Please, install docker (https://www.docker.com/)
          </installationDirective>
        </command>
  • <command enabled="true" name="collada2gltlf">
          <commandLine>docker</commandLine>
          <testParameterString>pull nuxeo/collada2gltf</testParameterString>
          <parameterString>run --name #{name} --volumes-from #{data} nuxeo/collada2gltf
            -f /in/#{inFile} -o /out/#{outFile} -e</parameterString>
          <installationDirective>Please, install docker (https://www.docker.com/)
          </installationDirective>
        </command>
  • <command enabled="true" name="create_container">
          <commandLine>docker</commandLine>
          <testParameterString>version</testParameterString>
          <parameterString>create --name #{name} #{image} </parameterString>
          <installationDirective>Please, install docker (https://www.docker.com/)
          </installationDirective>
        </command>
  • <command enabled="true" name="remove_container">
          <commandLine>docker</commandLine>
          <testParameterString>version</testParameterString>
          <parameterString>rm #{name} </parameterString>
          <installationDirective>Please, install docker (https://www.docker.com/)
          </installationDirective>
        </command>
  • <command enabled="true" name="copy_container">
          <commandLine>docker</commandLine>
          <testParameterString>version</testParameterString>
          <parameterString>cp #{source} #{destination}</parameterString>
          <installationDirective>Please, install docker (https://www.docker.com/)
          </installationDirective>
        </command>
  • <command enabled="true" name="useruid">
          <commandLine>id</commandLine>
          <testParameterString>-u</testParameterString>
          <parameterString>-u #{username}</parameterString>
          <installationDirective>Please, install id command</installationDirective>
        </command>

XML Source

<extension point="command" target="org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent">

    <command enabled="true" name="blender_pipeline">
      <commandLine>docker</commandLine>
      <testParameterString>pull nuxeo/blender</testParameterString>
      <parameterString>run --name #{name} --volumes-from #{data} nuxeo/blender
        -P /scripts/#{scriptFile} -- --input /in/#{inFile} --outdir /out --operators #{operators}
        --renderids #{renderIds} -li #{lodIds} -pp #{percPoly} -mp #{maxPoly} -d #{dimensions} -c #{coords}
      </parameterString>
      <installationDirective>Please, install docker (https://www.docker.com/)
      </installationDirective>
    </command>
    <command enabled="true" name="collada2gltlf">
      <commandLine>docker</commandLine>
      <testParameterString>pull nuxeo/collada2gltf</testParameterString>
      <parameterString>run --name #{name} --volumes-from #{data} nuxeo/collada2gltf
        -f /in/#{inFile} -o /out/#{outFile} -e</parameterString>
      <installationDirective>Please, install docker (https://www.docker.com/)
      </installationDirective>
    </command>
    <command enabled="true" name="create_container">
      <commandLine>docker</commandLine>
      <testParameterString>version</testParameterString>
      <parameterString>create --name #{name} #{image} </parameterString>
      <installationDirective>Please, install docker (https://www.docker.com/)
      </installationDirective>
    </command>
    <command enabled="true" name="remove_container">
      <commandLine>docker</commandLine>
      <testParameterString>version</testParameterString>
      <parameterString>rm #{name} </parameterString>
      <installationDirective>Please, install docker (https://www.docker.com/)
      </installationDirective>
    </command>
    <command enabled="true" name="copy_container">
      <commandLine>docker</commandLine>
      <testParameterString>version</testParameterString>
      <parameterString>cp #{source} #{destination}</parameterString>
      <installationDirective>Please, install docker (https://www.docker.com/)
      </installationDirective>
    </command>
    <command enabled="true" name="useruid">
      <commandLine>id</commandLine>
      <testParameterString>-u</testParameterString>
      <parameterString>-u #{username}</parameterString>
      <installationDirective>Please, install id command</installationDirective>
    </command>
  </extension>